using FluentNHibernate.Mapping;

namespace TaskKernel.Domain.Nhibernate.Mappings
{
    public class FileTaskHistoryEntryMap : SubclassMap<FileTaskHistoryEntry>
    {
        public FileTaskHistoryEntryMap()
        {
            Table("task_Comments");
            DiscriminatorValue((int) HistoryEntryType.File);
            References(x => x.File, "FileGID");
        }
    }
}